{extend name="base:base" /}
{block name="seo"}
<!--/meta 作为公共模版分离出去-->
<title>权限列表 - {$app_name}</title>
{/block}
{block name="nav"}
<nav class="breadcrumb" style="background-color:#fff;padding: 0 24px">
    首页
    <span class="c-gray en">/</span>
    系统管理
    <span class="c-gray en">/</span>
    语言管理
    <span class="c-gray en">/</span>
    语言列表
</nav>
{/block}
{block name="main"}
<div class="panel mt-20">
    <div class="panel-body">
        <div class="clearfix">
            <span class="f-l">
                <a class="btn btn-primary radius"
                   onclick="article_add('添加语言','/{$backendPrefix}/system/language/add.html')"
                   href="javascript:void(0);"><i class="Hui-iconfont">&#xe600;</i> 添加语言</a>
            </span>
            <span class="f-r">本次查询出：<strong></strong> 条数据</span>
        </div>
        <div class="mt-20 clearfix">
            <table id="data-table-list"
                   class="table table-border table-bordered table-bg table-hover table-sort">
                <thead>
                <tr class="text-c">
                    <!--<th width="80">ID</th>-->
                    <th width="15%">语言名称</th>
                    <th>语言Code</th>
                    <th width="5%">语言图标</th>
                    <th width="20%">操作</th>
                    <th width="30%"></th>
                </tr>
                </thead>
                <tbody class="getData-list" data-currPage='1'>
                {notempty name="data"}
                {volist name="data" id="vo"}
                <tr class="text-c">
                    <!--<td class="text-c">{$vo.id}</td>-->
                    <td class="text-l">{$vo.name}</td>
                    <td>{$vo.code}</td>
                    <td>{$vo.icon}</td>
                    <td class="f-14 td-manage">
                        <a style="text-decoration:none" class="ml-5 btn btn-primary"
                           onClick="category('编辑语言','/{$backendPrefix}/system/language/edit/{$vo.id}.html')"
                           href="javascript:void (0);"
                           title="编辑语言"><i class="Hui-iconfont">&#xe6df;</i></a>
                    </td>
                    <td></td>
                </tr>
                {/volist}
                {else /}
                {/notempty}
                </tbody>
            </table>
        </div>
        <div id="laypage" class="text-l"></div>
    </div>
</div>
{/block}
{block name="script"}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__LIB__/datatables/1.10.15/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="__LIB__/laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="__ADMIN__/business/js/main.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#menu-level").add('#language_manger').css("display", "block");
        $("#language").addClass("current");
    })
</script>
{/block}